home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 2004 #9
/
Amiga Plus CD - 2004 - No. 09.iso
/
amigaplus
/
tools
/
amigaos4_only
/
ifxlite
/
imagefx3
/
rexx
/
autofx
/
template.ifx.pre
< prev
next >
Wrap
Text File
|
2004-08-03
|
657b
|
34 lines
/*
* Template.ifx.pre
* Written by Thomas Krehbiel
*
* Template for AutoFX scripts.
*
* Inputs:
* Word(Arg(1),1) = Sequence number
* Word(Arg(1),2) = Total number of frames (N)
*
* Returns:
* 0 if successful, non-zero on failure
*
*/
OPTIONS RESULTS
base = 'Autofx_Template_'
a = GETCLIP(base||'a') ; IF a = "" THEN a = 'A'
b = GETCLIP(base||'b') ; IF b = "" THEN b = 'A'
Gadget.1 = 'INTEGER 250 5 90 14 "Start:"' a
Gadget.2 = 'INTEGER 250 20 90 14 "End:"' b
Gadget.3 = 'END'
NewComplexRequest '"Template"' Gadget 450 60
IF rc ~= 0 THEN EXIT rc
CALL SETCLIP(base||'a', result.1)
CALL SETCLIP(base||'b', result.2)
EXIT